package com.ykq.order.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@ConfigurationProperties(prefix = "student")
@Data
public class Student {

    private String name;
    private List<String> names;
    private List<Person> list;
}
/**
 list:
 - age: 15
   dress: zhengzhou
 - age: 18
 address: beijing
 */